package com.ww.springboot.boot.javabase.date;

import cn.hutool.core.date.DateUtil;
import org.springframework.validation.annotation.Validated;

import java.util.Date;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2022-01-26 09:54
 */
@Validated
public class DateDemo {
    public static void main(String[] args) {
        Date date = new Date();

        System.out.println(DateUtil.format(new Date(), "yyyy-MM-dd'T'HH:mm:ssZZ"));

    }
}
